package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 刘国航
 * @desc
 * @since 2024/12/24 13:41
 */
@Data
public class WantBuyOrderIncomeDTO implements Serializable {

    private static final long serialVersionUID = -7994884157395479874L;

    @ApiModelProperty("求购单id")
    @NotNull(message = "求购单id不能为空")
    private Long id;

    @ApiModelProperty("选择的个数")
    @NotNull(message = "选择的个数不能为空")
    private Integer size;

}
